from rest_framework.filters import SearchFilter, OrderingFilter
from rest_framework.viewsets import ModelViewSet
from approve.models import Approve,CheckApprove
from approve.serializers.approve import Approveserializer
from approve.serializers.check_approve import CheckApproveserializer
from rest_framework.response import Response
import  json
from rest_framework import  status
from rest_framework.decorators import action
from  rest_framework.views import APIView

class ApproveViewSet(ModelViewSet):
    queryset = Approve.objects.all()
    serializer_class = Approveserializer
